package com.test.p17state.example01;

public class Context {
    private State state;


    public void setState(State s){
        System.out.println("修改状态");
        state = s;
        state.handle();
    }
}
